<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Http Cache</title>
    </head>
    <body>
        <h1>强制缓存</h1>
        <!-- from memory cache or from desk cache-->
        <!-- 内存缓存与磁盘缓存的区别：当访问次数频繁时会使用内存缓存 -->
        <!-- <img src="./libs/logo_sm.png">
    <img src="./libs/download.png"> -->
        <h1>协商缓存</h1>
        <img src="./libs/bg_loading.gif" />

        <script>
            fetch("/api").then((res) => {
                console.log(res);
            });
        </script>
    </body>
</html>
